using System.Runtime.InteropServices;
using CityFlow.Core;
using UnityEngine;

namespace CityFlow
{
    public class MainSceneManager : MonoBehaviour
    {
        protected void Start()
        {
            Debug.Log("hello city flow");

            Debugger.StringPtr info = Debugger.Info;
            Debugger.StringPtr warn = Debugger.Warn;
            Sliver.SystemInit("test", Marshal.GetFunctionPointerForDelegate(info), Marshal.GetFunctionPointerForDelegate(warn));


            Debug.Log(Sliver.UnityExportTest(1, 2));

        }

        protected void Update()
        {

        }
    }
}